﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="_2._2._3_用户注册.index" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div class="page">
            <div class="loginwarrp">
                <div class="logo">用户注册</div>
                <div class="login_form">
                    <ul>
                        <li class="login-item"><span>用户名：</span>
                            <asp:TextBox ID="txtUser" runat="server" class="login_input"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="输入用户名" ControlToValidate="txtUser" ForeColor="Red"> </asp:RequiredFieldValidator>
                        </li>
                        <li class="login-item"><span>密码：</span>
                            <asp:TextBox ID="txtPwd" runat="server" class="login_input" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ErrorMessage="输入密码" ControlToValidate="txtPwd" runat="server" ForeColor="Red"></asp:RequiredFieldValidator>
                        </li>
                        <li class="login-item"><span>确认密码：</span>
                            <asp:TextBox ID="txtPwdSet" runat="server" class="login_input" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="输入密码" ControlToValidate="txtPwdSet" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次密码不一致" ControlToCompare="txtPwd" ControlToValidate="txtPwdSet" ForeColor="Red"></asp:CompareValidator>
                        </li>
                        <li class="login-sub">
                            <asp:Button ID="btnOK" runat="server" Text="注册" OnClientClick="btnOK_Click" OnClick="btnOK_Click" />
                            <input type="reset" name="Reset" value="重置" />
                        </li>
                        <li class="login-item">
                            <asp:Label ID="lblMessage" runat="server" Text="" ForeColor="#cc0000"></asp:Label>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
